package com.eeds.dao;

import com.eeds.common.table.CultureEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.eeds.model.culture.req.ReqGetCultureInfoVO;
import com.eeds.model.culture.res.ResGetCultureListVO;
import com.eeds.model.culture.vo.CultureVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 文化表
 * 
 * @author Flying
 * @email flying_miku@sina.com
 * @date 2019-09-03 20:26:00
 */
@Repository
public interface CultureDao extends BaseMapper<CultureEntity> {


    /**
     * 获取文化信息
     * @param type
     * @return
     */
    CultureVO getculture(@Param("type") Integer type);

    /**
     * 获取文化列表
     * @return
     */
    List<ResGetCultureListVO> getCultureList();

    /**
     * 获取文化信息
     * @param reqGetCultureInfoVO
     * @return
     */
    CultureVO getCultureInfo(@Param("reqGetCultureInfoVO") ReqGetCultureInfoVO reqGetCultureInfoVO);
}
